package com.dlyk.model;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 客户表
 * customer
 */
@Data
public class Customer implements Serializable {

    /**
     * 主键，自动增长，客户ID
     */
    private Integer id;

    /**
     * 线索ID
     */
    private Integer clueId;

    /**
     * 选购产品
     */
    private Integer product;

    /**
     * 客户描述
     */
    private String description;

    /**
     * 下次联系时间
     */
    private Date nextContactTime;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 创建人
     */
    private Integer createBy;

    /**
     * 编辑时间
     */
    private Date editTime;

    /**
     * 编辑人
     */
    private Integer editBy;

    private static final long serialVersionUID = 1L;

    /**
     * 一对一关联查询
     */
    private Clue clueDO;
    private User ownerDO;
    private Activity activityDO;
    private Product productDO;
    private DicValue appellationDO;
    private DicValue needLoanDO;
    private DicValue intentionStateDO;
    private DicValue stateDO;
    private DicValue sourceDO;
    private User createByDO;
    private User editByDO;

}

